/*******************************************************************************
 * Package: com.hngtrust.iir.elk.dto
 * Type:    CompSreachReq
 * Date:    2021/6/15 16:59
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.elk.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 查询公司请求
 *
 * @author Keqiwei
 * @date 2021/6/15 16:59
 */
@ApiModel(description = "查询公司请求")
@Data
public class CompSearchReq {
    @ApiModelProperty(value = "公司名")
    private String compName;
    
    /**
     * 每一页条数
     */
    @NotNull(message = "每一页条数为空")
    @ApiModelProperty(value = "每一页条数", dataType = "Integer", required = true)
    private Integer size;
    
    /**
     * 排序码，顺序和排序顺序一杨
     */
    @NotNull(message = "排序码为空")
    @ApiModelProperty(value = "排序码", dataType = "List",required = true)
    private List<String> orderNumber;
}
